﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataLayer.Entities
{
    public class User
    {
        public int UserID { get; set; }
        public String UserName { get; set; }
        public String Password { get; set; }
        public String PasswordQuestion { get; set; }
        public String PasswordAnswer { get; set; }
        public Boolean IsApproved { get; set; }
        public DateTime LastActivityDate { get; set; }
        public DateTime LastLoginDate { get; set; }
        public DateTime LastPasswordChangedDate { get; set; }
        public DateTime CreationDate { get; set; }
        public Boolean IsOnLine { get; set; }
        public Boolean IsLockedOut { get; set; }
        public DateTime LastLockedOut { get; set; }
        public DateTime LastLockedOutDate { get; set; }
        public int FailedPassswordAttemptCount { get; set; }
        public DateTime FailedPasswordAttemptWindowStart { get; set; }
        public int FailedPasswordAnswerAttemptCount { get; set; }
        public DateTime FailedPasswordAnswerAttemptWindowStart { get; set; }
        public String Email { get; set; }
        public int RoleID { get; set; }
        public String Comment { get; set; }
        public int PersoID { get; set; }
    }
}
